import { axios } from '@/utils/request'

// 新增文档
export function apiAddPolicyDoc(data) {
  return axios({
    url: '/gzPolicyDocument/add',
    method: 'post',
    data
  })
}
// 编辑文档
export function apiEditPolicyDoc(data) {
  return axios({
    url: '/gzPolicyDocument/edit',
    method: 'post',
    data
  })
}

// 删除文档
export function apiDelPolicyDoc(data) {
  return axios({
    url: '/sys/user/referenceList',
    method: 'post',
    data
  })
}
